INCLUDE_DIRECTORIES (../)
INCLUDE_DIRECTORIES (./)

ADD_LIBRARY(
        EWAUITimeline

        EWAUITimelineHeader.hpp

        EWAUITimelineWidget.hpp
        EWAUITimelineWidget.cpp

        EWAUITrackHeader.hpp
        EWAUITrackHeader.cpp

        EWAUITimelineContext.hpp
        EWAUITimelineContext.cpp

        EWAUITrackHeaderItem.hpp
        EWAUITrackHeaderItem.cpp

        EWAUIRuleWidget.hpp
        EWAUIRuleWidget.cpp

        EWAUITrackScrollContentLayout.hpp
        EWAUITrackScrollContentLayout.cpp

        EWAUITrackBody.hpp
        EWAUITrackBody.cpp

        EWAPrjTrackUI.hpp
        EWAPrjTrackUI.cpp

        EWAPrjFragmentUI.hpp
        EWAPrjFragmentUI.cpp

        EWAPrjFragmentFragmentResourse.hpp
        EWAPrjFragmentFragmentResourse.cpp

        EWAUITimelinePlusWidget.hpp
        EWAUITimelinePlusWidget.cpp

        EWAColorSet.hpp
        EWAColorSet.cpp

        EWAUITrackHeaderAudio.hpp
        EWAUITrackHeaderAudio.cpp

        EWAUITrackHeaderVideo.hpp
        EWAUITrackHeaderVideo.cpp

        EWAUITrackBodyAudio.cpp
        EWAUITrackBodyAudio.hpp

        EWAUITrackBodyVideo.hpp
        EWAUITrackBodyVideo.cpp

        EWAUIWidgetScrollVideoTrack.hpp
        EWAUIWidgetScrollVideoTrack.cpp
)

SET(HEAD_FILES
        EWAUITimelineHeader.hpp
        EWAUITimelineWidget.hpp
        EWAUITrackHeader.hpp
        EWAUITimelineContext.hpp
        EWAUITrackHeaderItem.hpp
        EWAUIRuleWidget.hpp
        EWAUITrackScrollContentLayout.hpp
        EWAUITrackBody.hpp
        EWAUITrackBodyVideo.hpp
        EWAPrjTrackUI.hpp
        EWAPrjFragmentUI.hpp
        EWAPrjFragmentFragmentResourse.hpp
        EWAUITimelinePlusWidget.hpp
        EWAColorSet.hpp
        EWAUITrackHeaderAudio.hpp
        EWAUITrackHeaderVideo.hpp
        )

INSTALL(FILES ${HEAD_FILES} DESTINATION include/EWAUITimeline)
INSTALL(
        TARGETS EWAUITimeline
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
)